﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace KAKA.Models
{
    public class SendMessageModel
    {
        public string Post { get; set; }

        public string Receiver { get; set; }

        [Required, StringLength(30)]
        public string Subject { get; set; }

        [Required, StringLength(500)]
        public string Content { get; set; }
    }

    public class MessageModel
    {
        public string Subject { get; set; }
        public string Content { get; set; }
        public string CreateAt { get; set; }
        public string Sender { get; set; }
    }
}